
<form id="form_edit"><input type="hidden" name="id" value="{[$smarty.request.id]}" />
<input type="hidden" name="im_openfire" id="im_openfire" value="" />
<table>
	<tr>
		<td width="20%" align="right">流水号：</td>
		<td width="30%">#{[$result.id]}({[$result.oper_t]})</td>
		<td width="20%" align="right">状态：</td>
		<td width="30%"><select name='status'>
			{[html_options options=$status_option selected=$result.status]}
		</select></td>
	</tr>
	<tr>
		<td align="right">姓名：</td>
		<td colspan="3"><input type="text" name="name" size="12" value="{[$result.name]}"> <input type="text" name="zjm"
			size="8" value="{[$result.zjm]}"> {[$result.name_py]}({[$result.name_pinyin]})</td>
	</tr>
	<tr>
		<td align="right"></td>
		<td></td>
		<td align="right">即时消息：</td>
		<td><input type="text" name="im" value="{[$result.im]}" size="20"></td>
	</tr>
	<tr>
		<td align="right">英文名：</td>
		<td><input type="text" name="engname" value="{[$result.engname]}" size="12"> {[$result.password]}</td>
		<td align="right">电子邮件：</td>
		<td><input type="text" name="email" value="{[$result.email]}" size="20"></td>
	</tr>
	<tr>
		<td align="right">办公区/部门：</td>
		<td colspan="3"><select name='office' id='office'>
			{[html_options options=$office_option selected=$result.office]}
		</select> <input type="text" name="dept" id="dept" value="{[$result.dept]}:{[$result.dept_t]}" size="32"></td>
	</tr>
	<tr>
		<td align="right">职位：</td>
		<td><input type="text" name="job" value="{[$result.job]}" size="12"> <select name='orderby'>
			{[html_options options=$sequence_option selected=$result.orderby]}
		</select></td>
		<td align="right">类型：</td>
		<td><select name='state'>
			{[html_options options=$state_option selected=$result.state]}
		</select></td>
	</tr>
	<tr>
		<td align="right">手机：</td>
		<td><input type="text" name="mobile" id="mobile" value="{[$result.mobile]}" size="16"></td>
		<td align="right">通讯录：</td>
		<td><select name='book'>
			{[html_options options=$book_option selected=$result.book]}
		</select></td>		
	</tr>
	<tr>
		<td align="right">短号：</td>
		<td><input type="text" name="short" id="short" value="{[$result.short]}" size="8">
		<select name='dh_t' id='dh_t'>
			<option label="请选择" value="-">请选择</option>
		</select></td>
		<td align="right">分机：</td>
		<td><input type="text" name="exten" id="exten" value="{[$result.exten]}" size="8">
		<select name='exten_t' id='exten_t'>
			<option label="请选择" value="-">请选择</option>
		</select></td>		
	</tr>
	<tr>
		<td align="right">备注：</td>
		<td colspan="3"><textarea rows="3" name="content" cols="55">{[$result.content]}</textarea></td>
	</tr>
	<tr>
		<td align="right">负责人：</td>
		<td><input type="text" name="emp" id="emp" value="{[$result.emp]}:{[$result.emp_t]}" size="12" title="{[$t.emp_|emp:'负责人']}"> <input type="checkbox"
			name="t_emp" id="t_emp" value="{[$smarty.session.id]}:{[$smarty.session.name]}"> 自己</td>
		<td align="right">IM：</td>
		<td><input type="checkbox" name="im_t" id="im_t" value="openfire"></td>
	</tr>
</table>
</form>

<script type="text/javascript" src="js/emp/emp/add.js?r={[$smarty.now]}"></script>
